html, body,#app {
    width: 100%;
    height: 100%;
}
.box-card {
    width: 100%;
    height: 100%;
}
.diy-box {
    width: 100%;
    height: calc(100% - 80px);
    display: flex;
}
.box-header {
    width: calc(100% - 10px);
    height: 58px;
    background: #fff;
    line-height: 58px;
    text-align: left;
    border-radius: 5px;
    padding-left: 10px;
}
.diy-tools {
    width: 290px;
    height: calc(100% - 10px);
    background: #fff;
    margin-top: 10px;
    padding: 10px 20px 0px 20px;
}
.right-box {
    width: 400px;
    height: calc(100% - 10px);
    background: #fff;
    margin-top: 10px;
    padding: 10px 20px 0px 20px;
    overflow: scroll;
}
.diy-content {
    min-height: calc(100% - 28px);
    width: calc(100% - 675px);
}
.diy-header {
    margin-left: calc((100% - 388px)/ 2);
    background-image: url('/static/admin/default/image/preview_head.png');
    width: 375px;
    height: 64px;
    background-repeat: no-repeat;
    background-size: 100%;
    border: 1px solid #f0f1f3;
    margin-top: 30px;
    background-color: #fff;
}
.diy-body {
    width: 375px;
    margin: 0 auto;
    border: 1px solid #f0f1f3;
    border-top: none;
    background-color: #f6f9ff;
    min-height: calc(100vh - 190px);
    padding-bottom: 10px;
    padding-left:10px;
    padding-right: 10px;
}
.el-collapse {
    border-top: none;
}
.el-collapse-item__header {
    border-bottom: none;
}
.tool-box {
    overflow: hidden;
    margin: 0;
    padding: 5px;
    transition: all .3s;
    opacity: 1;
}
.tool-box li {
    float: left;
    font-size: 12px;
    width: 65px;
    height: 65px;
    text-align: center;
    cursor: pointer;
    position: relative;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-right: 17px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tool-box li:nth-child(3n) {
    margin-right: 0;
}
.tool-box li span:first-child {
    font-size: 24px;
    color: #1890ff;
}
.tool-box li:hover {
    box-shadow: 0 0 5px 0 rgba(24, 144, 255, 0.3);
    border-right: 5px;
}
.el-collapse-item__header {
    font-size: 15px;
    font-weight: 500;
}
.shop-title {
    margin: 0 auto;
    display: block;
    height: 20px;
    width: 200px;
    text-align: center;
    line-height: 20px;
    margin-top: 33px;
    overflow: hidden;
    padding: 0 30px 0 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.diy-body-box {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}
.context {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}
*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}
*::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}
*::-webkit-scrollbar-corner {
    background-color: transparent;
}
*::-webkit-scrollbar-thumb {
    border: 4px solid rgba(0, 0, 0, 0);
    height: 6px;
    border-radius: 25px;
    background-clip: padding-box;
    background-color: rgba(0, 0, 0, 0.30);
}
.goods-list .goods-item1 {
    width: 100%;
    height: 100px;
    background: #fff;
    display: flex;
    margin-bottom: 10px;
    padding-top: 5px;
}
.goods-item1 .goods-img {
    width: 100px;
    height: 100px;
}
.goods-item1 .goods-img img{
    width: 100%;
    height: 100%;
}
.goods-item1 .goods-info {
    width: calc(100% - 110px);
    height: 100%;
    padding: 0 10px 0 10px;
}
.goods-info .goods-title {
    font-size: 14px;
    color: #282828;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.goods-info .old-price {
    color: #aaa;
    font-size: 13px;
    margin-top: 5px;
    text-decoration: line-through;
}
.goods-info .goods-price {
    font-size: 18px;
    color: #e93323;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top: 15px;
}
.goods-list {
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.goods-item2 {
    background: #fff;
    width: 48%;
    margin-bottom: 15px;
}
.goods-item2 .goods-item {
    width: 48%;
    height: 255px;
    flex-flow: wrap;
}
.goods-item2 .goods-img {
    width: 100%;
}
.goods-item2 .goods-img img {
    width: 100%;
    margin-top: 5px;
}
.goods-item2 .goods-title {
    width: 160px;
    -webkit-line-clamp: 1;
}
.goods-item2 .goods-info {
    width: 90%;
    height: 85px;
    padding: 7px 10px;
}
.goods-item3 {
    background: #fff;
    width: 32%;
    margin-bottom: 15px;
}
.goods-item3 .goods-item {
    width: 100%;
    height: 192px;
    flex-flow: wrap;
}
.goods-item3 .goods-img {
    width: 100%;
}
.goods-item3 .goods-img img {
    width: 100%;
    margin-top: 5px;
}
.goods-item3 .goods-title {
    width: 94px;
    -webkit-line-clamp: 1;
}
.goods-item3 .goods-info {
    width: 90%;
    height: 85px;
    padding: 7px 10px;
}
.component-item:first-child {
    margin-top: 0;
}
.component-item {
    display: flex;
    width: 100%;
    position: relative;
    margin-top: 5px;
}
.component-on {
    border: 2px solid #1890ff;
    box-shadow: 0 0 10px 0 rgba(24,144,255,.3);
}
.component-tool {
    position: absolute;
    right: -43px;
    top: 0;
    width: 36px;
    height: 143px;
    border-radius: 4px;
    background-color: #1890ff;
    cursor: pointer;
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 4px 0;
    display: none;
}
.component-on .component-tool {
    display: block;
}
.component-tool i {
    margin-top: 15px;
    font-weight: 700;
}
.component-item:hover {
    cursor: pointer;
    transform: scale(1.01);
    box-shadow: 0 0 10px 0 rgba(24, 144, 255, 0.3);
    transition: all 0.2s;
}
.goods-cate {
    width: 100%;
    height: 46px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.goods-cate .item {
    position: relative;
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 14px;
}
.goods-cate .item.on span {
    display: block;
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 16px;
    height: 2px;
    transform: translateX(-50%);
    background: #fff;
}
.notice-diy {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
}
.notice-img {
    width: 120px;
    height: 40px;
}
.notice-img img {
    margin-top: 5px;
    margin-left: 20px;
}
.notice-content {
    font-size: 14px;
    width: 230px;
    overflow:hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -o-text-overflow:ellipsis;
}
.title-diy {
    width: 100%;
    height: 28px;
}
.title-content {
    padding: 5px 10px;
    font-size: 12px;
}
.blank-diy {
    width: 100%;
    height: 10px;
}
.line-box {
    padding: 7px 0;
    width: 100%;
}
.list-wrapper {
    padding: 10px 0;
}
.list-wrapper .item.on {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-flow: row-reverse;
    flex-flow: row-reverse;
}

.list-wrapper .item:last-child {
    margin-bottom: 0!important;
}
.list-wrapper .item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px;
    background-color: #fff;
    margin: 0 10px;
}
.list-wrapper .item .empty-img-box {
    width: 125px;
    height: 78px;
}
.list-wrapper .item .empty-img-box::before {
    box-sizing: border-box;
}
.list-wrapper .item .empty-img-box::after {
    box-sizing: border-box;
}
.list-wrapper .item .info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 200px;
    height: 78px;
}
.list-wrapper .item .info::before {
    box-sizing: border-box;
}
.list-wrapper .item .info::after {
    box-sizing: border-box;
}
.list-wrapper .item .info .title {
    color: #282828;
    font-size: 15px;
}

.line2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.line1, .line2 {
    overflow: hidden;
    text-overflow: ellipsis;
}
.list-wrapper .item .info .time {
    color: #999;
    font-size: 12px;
}
.empty-img-box i {
    color: #bbbfc8;
    font-size: 30px;
}
.slider-box {
    width: 100%;
    height: 152px;
}
.slider-box img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    object-fit: cover;
}
.empty-img-box {
    width: 100%;
    height: 100%;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #f3f5f7;
}
.diy-menu-box {
    width: 100%;
}
.menu-list {
    display: flex;
    flex-wrap: wrap;
}
.menu-list .menu-item {
    margin-top: 12px;
    font-size: 11px;
    color: #282828;
    text-align: center;
    width: 33.3333%;
}
.img-box img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    object-fit: contain;
}
.menu-item.four {
    width: 25%;
}
.menu-item.five {
    width: 20%;
}
.magic-box {
    width: 100%;
}
.diy-style-1 {
    width: 100%;
}
.diy-style-1 .empty-img-box {
    width: 100%;
    height: 375px;
}
.diy-style-1 img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    object-fit: contain;
}
.diy-style-2 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.diy-style-2 .empty-img-box {
    height: 190px;
    width: 100%;
}
.diy-style-2 img {
    width: 100%;
    height: auto;
}
.diy-style-3 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.diy-style-3 .empty-img-box {
    height: 127px;
    width: 100%;
}
.diy-style-3 img {
    width: 100%;
    height: 100%;
}
.style-3-item {
    width: 33.3333%;
}
.diy-style-4 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.diy-style-4 img {
    width: 100%;
    height: 100%;
}
.diy-style-5 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95px;
}
.style-5-item {
    width: 25%;
    height: 100%;
}
.diy-style-5 img {
    width: 100%;
    height: 100%;
}
.diy-style-6 {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
}
.diy-style-6 img {
    width: 100%;
    height: 100%;
}
.coupon-box {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 0 15px 10px;
    overflow: hidden;
}
.coupon-box .coupon-item {
    flex-shrink: 0;
    position: relative;
    display: flex;
    width: 152px;
    height: 76px;
    background: #e93323;
    color: #fff;
    border-radius: 5px;
    margin-right: 10px;
}
.coupon-item .left {
    width: 120px;
    height: 76px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.coupon-item .right {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 12px;
    border-left: 1px dashed #fff;
    writing-mode: vertical-lr;
    letter-spacing: 3px;
}
.coupon-item .left .num {
    font-size: 24px;
    font-weight: 700;
}
.coupon-item .left .txt {
    font-size: 12px;
}
.coupon-item .roll {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.up-roll {
    right: 26px;
    top: -5px;
}
.down-roll {
    right: 26px;
    bottom: -5px;
}
.coupon-item.gray {
    background: #d8d8d8;
}
.seckill-div {
    width: 100%;
    height: 240px;
}
.seckill-div .seckill-box {
    padding: 15px 10px;
    background: #fff;
}
.seckill-box .title {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
}
.seckill-box .title .left {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.seckill-box .left img {
    width: 18px;
    height: 18px;
    margin-right: 5px;
    border-radius: 50%;
}
.seckill-box .left p {
    font-size: 16px;
    color: #282828;
    font-weight: 600;
}
.seckill-box .left .time {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: 5px;
    color: #f44;
}
.seckill-box .left .time span {
    width: 20px;
    height: 16px;
    font-size: 12px;
    text-align: center;
    line-height: 16px;
}
.seckill-box  .left .time em {
    font-size: 12px;
    margin: 0 3px;
    font-style: normal;
    font-weight: 700;
}
.seckill-box .right {
    font-size: 14px;
    color: #999;
}
.seckill-box .seckill-list {
    display: flex;
    margin-top: 8px;
    overflow: hidden;
}
.seckill-list .seckill-item {
    flex-shrink: 0;
    width: 31%;
    background-color: #fff;
    margin-right: 12px;
}
.seckill-item .img-box {
    position: relative;
    width: 100%;
    height: 110px;
}
.seckill-item .seckill-title {
    margin-top: 5px;
    font-size: 13px;
    color: #282828;
    padding: 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seckill-item .price {
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 3px;
}
.seckill-item .price .label {
    font-size: 9px;
    width: 16px;
    height: 16px;
    color: #fff;
    text-align: center;
    line-height: 16px;
}
.seckill-item .price .num-label {
    color: #f44;
    font-size: 12px;
    font-weight: 600;
    margin: 1px 2px 0;
}
.seckill-item .price .num {
    color: #f44;
    font-size: 16px;
    font-weight: 600;
}
.goods-cate-box {
    width: 100%;
}
img {
    display: block;
    object-fit: contain;
}
.item-box {
    width: 100%;
    height: 100%;
    display: flex;
}
.image-check-dialog .el-dialog__header {display: none}
.image-check-dialog .el-dialog__body {padding: 0;}
*, :after, :before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.diy-search input {
    border-radius: 20px;
}
.goods-item3 .goods-price {
    font-size: 14px !important;
}